$(function(){
	
		$("#submit").click(function(){
			var subdata = $("input").serialize();
			//alert( subdata);
			$.ajax({
				   type: "POST",
				   url: "list_Meet.php",
				   data: subdata,
				   dataType:"json",
				   success: function(msg){
					 //alert('aa');
				     var str = "姓名:"+msg.username+"<br/>性别:"+msg.sex+"</br>年龄："+msg.age+"<br/>就诊号:"+msg.hospital_num;
				     $(".view").show();
					 $(".view").html(str);
					 
				   }
				});
		    });
	
	});